package com.api.pay.service;

import com.alipay.api.AlipayApiException;
import com.api.apicommon.response.BaseResponse;
import com.api.pay.model.domain.ApiOrder;
import com.api.pay.model.dto.order.OrderDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【api-order】的数据库操作Service
* @createDate 2024-06-22 14:42:17
*/
public interface ApiOrderService extends IService<ApiOrder> {

    BaseResponse<List<ApiOrder>> queryOrderById(Long userId);

    BaseResponse order(OrderDto orderDto, Long userId) throws AlipayApiException;

    String queryOrderStatus(ApiOrder order);
}
